class Solution:
    def maximumValue(self, strs: List[str]) -> int:
        result = 0
        for s in strs:
            try:
                num = int(s)
                result = max(result, num)
            except:
                result = max(result, len(s))
        return result
